package software_construction.DesignProject.d4_DIP.demo2;

import software_construction.DesignProject.d4_DIP.demo2.cpu.AmdCpu;
import software_construction.DesignProject.d4_DIP.demo2.cpu.Cpu;
import software_construction.DesignProject.d4_DIP.demo2.cpu.HuaweiCpu;
import software_construction.DesignProject.d4_DIP.demo2.memory.AmdMemory;
import software_construction.DesignProject.d4_DIP.demo2.memory.Memory;

public class Test {
    public static void main(String[] args) {
        Cpu cpu=new AmdCpu();
        Cpu cpu1=new HuaweiCpu();
        Memory memory=new AmdMemory();
        Computer computer=new Computer(cpu,memory);
        computer.startRun();
    }
}
